/**
 * @Description 对teacherGrade表进行的service层操作
 * @author 20155872 游宇
 * @create 2018-05-17 8:14
 **/

package com.campus_information_portal.service;

import com.campus_information_portal.entity.TeacherGrade;
import com.campus_information_portal.util.Msg;
import org.springframework.stereotype.Service;

/**
 * @className TeacherGradeService
 * @Description 对teacherGrade表进行的service层操作
 * @author 20155872 游宇
 * @create 2018-05-17 8:14
 **/
@Service
public interface TeacherGradeService {

    /**
     * @Description: 新增一条教师得分记录
     * @author: 20155872 游宇
     * @methodName: addTeacherGrade
     * @param: TeacherGrade teacherGrade
     * @returnType: boolean
     * @createTime: 2018/5/16 21:07
     **/
    Msg addTeacherGrade(TeacherGrade teacherGrade);

    /**
     * @Description: 根据教师信息id和学期id 查询教师得分记录
     * @author: 20155872 游宇
     * @methodName: TeacherGrade
     * @param: int teInfoId,int termId
     * @returnType: TeacherGrade
     * @createTime: 2018/5/16 21:13
     **/
    Msg getTeacherGrade(int teInfoId,int termId);

    /**
     * @Description: 根据学期id查询该学期所有老师的评价得分情况
     * @author: 20155872 游宇
     * @methodName: getAllTeacherGradeBytermId
     * @param: int termId
     * @returnType: List<TeacherGrade>
     * @createTime: 2018/5/17 8:11
     **/
    Msg getAllTeacherGradeBytermId(int termId);

}
